<template>
  <div class="my-button" :class="'my-' + type">
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: ["type"],
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss" scoped>
.my-button {
  padding: 0 15px;
  height: 50px;
  font-size: 14px;
  width: 100px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
}
.my-primary {
  background: chartreuse;
  color: #fff;
}
.my-info {
  background: red;
  color: #fff;
}
</style>
